package service_config

import (
	"appengine"
)

type ServiceConf interface {
	HomeURL() string
	UserRegisterURL() string
}

type appengineServiceConf struct {
	c appengine.Context
}

func NewServiceConfAppEngine(c appengine.Context) ServiceConf {
	var sc ServiceConf = appengineServiceConf{c}
	return sc
}

func (app appengineServiceConf) HomeURL() string {
	return "/home"
}

func (app appengineServiceConf) UserRegisterURL() string {
	return "/sign_up"
}
